home *** CD-ROM | disk | FTP | other *** search
/ MacFormat España 22 / macformat_22.iso / Shareware / Programación / enteract-377 / enteract-377.sit / EnterAct Stuff / write your own Drag_on / Code_Main.c < prev    next >
MacBinary  |  1995-01-13  |  11.3 KB  |  [TEXT/KEEN]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Code_Main.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Jan 13 23:51:23 1995, modified Fri Jan 13 23:51:23 1995, creator 'KEEN', type ASCII, 10161 bytes "Code_Main.c" , at 0x2831 1058 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KEEN]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 43 6f 64 65 5f 4d | 61 69 6e 2e 63 00 00 00 |..Code_M|ain.c...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 45 45 | 4e 01 00 00 00 00 00 00 |.TEXTKEE|N.......|
|00000050| 00 00 00 00 00 27 b1 00 | 00 04 22 ab 3d 08 cb ab |.....'..|..".=...|
|00000060| 3d 08 cb 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |=.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fd 5c 00 00 |........|.....\..|
|00000080| 2f 2a 20 43 6f 64 65 5f | 4d 61 69 6e 2e 63 20 3a |/* Code_|Main.c :|
|00000090| 20 66 69 6c 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | file co|ntaining|
|000000a0| 20 6d 61 69 6e 28 29 20 | 66 6f 72 20 63 6f 64 65 | main() |for code|
|000000b0| 20 72 65 73 6f 75 72 63 | 65 20 2a 2f 0d 2f 2a 20 | resourc|e */./* |
|000000c0| 47 45 4e 45 52 49 43 20 | 56 45 52 53 49 4f 4e 20 |GENERIC |VERSION |
|000000d0| 2d 20 6d 6f 64 69 66 79 | 20 74 6f 20 63 72 65 61 |- modify| to crea|
|000000e0| 74 65 20 79 6f 75 72 20 | 6f 77 6e 20 63 6f 64 65 |te your |own code|
|000000f0| 20 72 65 73 6f 75 72 63 | 65 73 20 2a 2f 0d 0d 2f | resourc|es */../|
|00000100| 2a 20 43 6f 70 79 72 69 | 67 68 74 20 a9 20 31 39 |* Copyri|ght . 19|
|00000110| 39 31 2c 20 31 39 39 32 | 20 74 68 65 20 46 72 65 |91, 1992| the Fre|
|00000120| 65 20 53 6f 66 74 77 61 | 72 65 20 46 6f 75 6e 64 |e Softwa|re Found|
|00000130| 61 74 69 6f 6e 2c 20 49 | 6e 63 2e 0d 20 2a 20 09 |ation, I|nc.. * .|
|00000140| 09 54 68 69 73 20 66 69 | 6c 65 20 69 73 20 66 72 |.This fi|le is fr|
|00000150| 65 65 20 73 6f 66 74 77 | 61 72 65 3b 20 79 6f 75 |ee softw|are; you|
|00000160| 20 63 61 6e 20 72 65 64 | 69 73 74 72 69 62 75 74 | can red|istribut|
|00000170| 65 20 6f 72 20 6d 6f 64 | 69 66 79 0d 20 2a 20 69 |e or mod|ify. * i|
|00000180| 74 20 75 6e 64 65 72 20 | 74 68 65 20 74 65 72 6d |t under |the term|
|00000190| 73 20 6f 66 20 74 68 65 | 20 47 4e 55 20 47 65 6e |s of the| GNU Gen|
|000001a0| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|000001b0| 6e 73 65 20 61 73 20 70 | 75 62 6c 69 73 68 65 64 |nse as p|ublished|
|000001c0| 20 62 79 0d 20 2a 20 74 | 68 65 20 46 72 65 65 20 | by. * t|he Free |
|000001d0| 53 6f 66 74 77 61 72 65 | 20 46 6f 75 6e 64 61 74 |Software| Foundat|
|000001e0| 69 6f 6e 3b 20 65 69 74 | 68 65 72 20 76 65 72 73 |ion; eit|her vers|
|000001f0| 69 6f 6e 20 31 2c 20 6f | 72 20 61 6e 79 20 6c 61 |ion 1, o|r any la|
|00000200| 74 65 72 20 76 65 72 73 | 69 6f 6e 2e 0d 20 2a 20 |ter vers|ion.. * |
|00000210| 09 09 54 68 69 73 20 66 | 69 6c 65 20 69 73 20 64 |..This f|ile is d|
|00000220| 69 73 74 72 69 62 75 74 | 65 64 20 69 6e 20 74 68 |istribut|ed in th|
|00000230| 65 20 68 6f 70 65 20 74 | 68 61 74 20 69 74 20 77 |e hope t|hat it w|
|00000240| 69 6c 6c 20 62 65 20 75 | 73 65 66 75 6c 2c 0d 20 |ill be u|seful,. |
|00000250| 2a 20 62 75 74 20 57 49 | 54 48 4f 55 54 20 41 4e |* but WI|THOUT AN|
|00000260| 59 20 57 41 52 52 41 4e | 54 59 3b 20 77 69 74 68 |Y WARRAN|TY; with|
|00000270| 6f 75 74 20 65 76 65 6e | 20 74 68 65 20 69 6d 70 |out even| the imp|
|00000280| 6c 69 65 64 20 77 61 72 | 72 61 6e 74 79 20 6f 66 |lied war|ranty of|
|00000290| 0d 20 2a 20 4d 45 52 43 | 48 41 4e 54 41 42 49 4c |. * MERC|HANTABIL|
|000002a0| 49 54 59 20 6f 72 20 46 | 49 54 4e 45 53 53 20 46 |ITY or F|ITNESS F|
|000002b0| 4f 52 20 41 20 50 41 52 | 54 49 43 55 4c 41 52 20 |OR A PAR|TICULAR |
|000002c0| 50 55 52 50 4f 53 45 2e | 20 53 65 65 20 74 68 65 |PURPOSE.| See the|
|000002d0| 0d 20 2a 20 47 4e 55 20 | 47 65 6e 65 72 61 6c 20 |. * GNU |General |
|000002e0| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 66 |Public L|icense f|
|000002f0| 6f 72 20 6d 6f 72 65 20 | 64 65 74 61 69 6c 73 2e |or more |details.|
|00000300| 0d 20 2a 20 09 09 59 6f | 75 20 73 68 6f 75 6c 64 |. * ..Yo|u should|
|00000310| 20 68 61 76 65 20 72 65 | 63 65 69 76 65 64 20 61 | have re|ceived a|
|00000320| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 47 4e 55 | copy of| the GNU|
|00000330| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|00000340| 4c 69 63 65 6e 73 65 0d | 20 2a 20 61 6c 6f 6e 67 |License.| * along|
|00000350| 20 77 69 74 68 20 47 41 | 57 4b 3b 20 73 65 65 20 | with GA|WK; see |
|00000360| 74 68 65 20 66 69 6c 65 | 20 22 43 4f 50 59 49 4e |the file| "COPYIN|
|00000370| 47 20 68 41 57 4b 22 2e | 20 49 66 20 6e 6f 74 2c |G hAWK".| If not,|
|00000380| 20 77 72 69 74 65 20 74 | 6f 0d 20 2a 20 74 68 65 | write t|o. * the|
|00000390| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 20 46 | Free So|ftware F|
|000003a0| 6f 75 6e 64 61 74 69 6f | 6e 2c 20 36 37 35 20 4d |oundatio|n, 675 M|
|000003b0| 61 73 73 20 41 76 65 2c | 20 43 61 6d 62 72 69 64 |ass Ave,| Cambrid|
|000003c0| 67 65 2c 20 4d 41 20 30 | 32 31 33 39 2c 20 55 53 |ge, MA 0|2139, US|
|000003d0| 41 2e 0d 20 2a 20 57 72 | 69 74 74 65 6e 20 66 6f |A.. * Wr|itten fo|
|000003e0| 72 20 54 48 49 4e 4b 20 | 43 20 34 20 6f 6e 20 74 |r THINK |C 4 on t|
|000003f0| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 62 79 20 |he Macin|tosh by |
|00000400| 4b 65 6e 20 45 61 72 6c | 65 20 28 44 79 6e 61 62 |Ken Earl|e (Dynab|
|00000410| 79 74 65 29 20 41 75 67 | 20 31 39 39 31 2e 0d 20 |yte) Aug| 1991.. |
|00000420| 20 20 52 65 76 69 73 65 | 64 20 4d 61 79 20 31 39 | Revise|d May 19|
|00000430| 39 32 3a 20 6e 65 77 20 | 73 65 74 75 70 2f 72 65 |92: new |setup/re|
|00000440| 73 74 6f 72 65 20 61 34 | 20 73 74 72 61 74 65 67 |store a4| strateg|
|00000450| 79 2e 0d 20 2a 2f 0d 0d | 2f 2a 20 52 65 71 75 69 |y.. */..|/* Requi|
|00000460| 72 65 64 20 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |red modi|fication|
|00000470| 73 3a 20 63 68 61 6e 67 | 65 20 49 6e 76 6f 6b 65 |s: chang|e Invoke|
|00000480| 52 65 73 6f 75 72 63 65 | 20 74 6f 20 74 68 65 20 |Resource| to the |
|00000490| 6e 61 6d 65 20 6f 66 20 | 74 68 65 0d 66 75 6e 63 |name of |the.func|
|000004a0| 74 69 6f 6e 20 74 68 61 | 74 20 73 74 61 72 74 73 |tion tha|t starts|
|000004b0| 20 6f 66 66 20 79 6f 75 | 72 20 63 6f 64 65 20 72 | off you|r code r|
|000004c0| 65 73 6f 75 72 63 65 2e | 20 49 74 20 73 68 6f 75 |esource.| It shou|
|000004d0| 6c 64 20 72 65 74 75 72 | 6e 20 61 6e 20 73 68 6f |ld retur|n an sho|
|000004e0| 72 74 0d 61 73 20 72 65 | 73 75 6c 74 20 63 6f 64 |rt.as re|sult cod|
|000004f0| 65 2c 20 61 6e 64 20 74 | 61 6b 65 20 6e 6f 20 61 |e, and t|ake no a|
|00000500| 72 67 75 6d 65 6e 74 73 | 2e 20 0d 53 65 65 20 43 |rguments|. .See C|
|00000510| 48 41 4e 47 45 20 54 48 | 49 53 20 62 65 6c 6f 77 |HANGE TH|IS below|
|00000520| 2e 2a 2f 0d 0d 2f 2a 20 | 59 6f 75 72 20 22 49 6e |.*/../* |Your "In|
|00000530| 76 6f 6b 65 22 20 66 75 | 6e 63 74 69 6f 6e 20 73 |voke" fu|nction s|
|00000540| 68 6f 75 6c 64 20 72 65 | 74 75 72 6e 20 74 68 65 |hould re|turn the|
|00000550| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 72 65 73 75 6c | followi|ng resul|
|00000560| 74 20 63 6f 64 65 73 3a | 0d 3c 3d 20 2d 33 20 3a |t codes:|.<= -3 :|
|00000570| 20 63 6f 75 6e 74 73 20 | 61 73 20 2d 31 20 61 74 | counts |as -1 at|
|00000580| 20 70 72 65 73 65 6e 74 | 0d 2d 32 20 3a 20 73 68 | present|.-2 : sh|
|00000590| 6f 77 20 73 74 64 65 72 | 72 0d 2d 31 20 3a 20 75 |ow stder|r.-1 : u|
|000005a0| 73 65 72 20 63 61 6e 63 | 65 6c 6c 65 64 20 6f 72 |ser canc|elled or|
|000005b0| 20 65 72 72 6f 72 20 64 | 75 72 69 6e 67 20 64 69 | error d|uring di|
|000005c0| 61 6c 6f 67 20 2d 20 6e | 6f 20 72 75 6e 0d 30 20 |alog - n|o run.0 |
|000005d0| 20 3a 20 72 75 6e 20 4f | 4b 2c 20 64 6f 20 6e 6f | : run O|K, do no|
|000005e0| 74 68 69 6e 67 20 73 70 | 65 63 69 61 6c 20 61 66 |thing sp|ecial af|
|000005f0| 74 65 72 0d 31 20 20 3a | 20 73 68 6f 77 20 73 74 |ter.1 :| show st|
|00000600| 64 6f 75 74 0d 32 20 20 | 3a 20 73 68 6f 77 20 61 |dout.2 |: show a|
|00000610| 6e 64 20 73 65 6c 65 63 | 74 20 73 74 64 6f 75 74 |nd selec|t stdout|
|00000620| 0d 3e 20 32 20 3a 20 6e | 6f 20 61 63 74 69 6f 6e |.> 2 : n|o action|
|00000630| 20 61 74 20 70 72 65 73 | 65 6e 74 20 28 63 6f 75 | at pres|ent (cou|
|00000640| 6e 74 73 20 61 73 20 65 | 71 75 69 76 61 6c 65 6e |nts as e|quivalen|
|00000650| 74 20 74 6f 20 30 29 0d | 2a 2f 0d 0d 0d 2f 2a 20 |t to 0).|*/.../* |
|00000660| 46 69 6c 65 73 20 66 6f | 72 6d 69 6e 67 20 74 68 |Files fo|rming th|
|00000670| 65 20 62 61 73 69 73 20 | 6f 66 20 61 20 6e 65 77 |e basis |of a new|
|00000680| 20 63 6f 64 65 20 72 65 | 73 6f 75 72 63 65 3a 0d | code re|source:.|
|00000690| 53 6f 75 72 63 65 20 66 | 69 6c 65 73 3a 0d 43 6f |Source f|iles:.Co|
|000006a0| 64 65 5f 4d 61 69 6e 2e | 63 0d 43 6f 64 65 52 65 |de_Main.|c.CodeRe|
|000006b0| 73 6f 75 72 63 65 5f 48 | 65 6c 70 65 72 2e 63 0d |source_H|elper.c.|
|000006c0| 43 6f 64 65 52 65 73 6f | 75 72 63 65 5f 46 69 6c |CodeReso|urce_Fil|
|000006d0| 65 73 2e 63 20 2d 20 66 | 6f 72 20 4d 61 63 69 6e |es.c - f|or Macin|
|000006e0| 74 6f 73 68 2d 73 74 79 | 6c 65 20 66 69 6c 65 20 |tosh-sty|le file |
|000006f0| 69 2f 6f 0d 48 65 61 64 | 65 72 20 66 69 6c 65 73 |i/o.Head|er files|
|00000700| 3a 0d 41 70 70 43 6f 64 | 65 43 6f 6d 6d 2e 68 0d |:.AppCod|eComm.h.|
|00000710| 43 6f 64 65 52 65 73 6f | 75 72 63 65 2e 68 0d 43 |CodeReso|urce.h.C|
|00000720| 6f 64 65 52 65 73 48 65 | 6c 70 65 72 2e 68 20 2d |odeResHe|lper.h -|
|00000730| 20 70 72 6f 74 6f 74 79 | 70 65 73 20 66 6f 72 20 | prototy|pes for |
|00000740| 68 65 6c 70 65 72 20 66 | 75 6e 63 74 69 6f 6e 73 |helper f|unctions|
|00000750| 0d 43 6f 64 65 52 65 73 | 46 69 6c 65 73 2e 68 20 |.CodeRes|Files.h |
|00000760| 2d 20 70 72 6f 74 6f 74 | 79 70 65 73 20 66 6f 72 |- protot|ypes for|
|00000770| 20 72 65 61 64 2f 77 72 | 69 74 65 20 66 75 6e 63 | read/wr|ite func|
|00000780| 74 69 6f 6e 73 20 0d 09 | 09 09 09 69 6e 20 43 6f |tions ..|...in Co|
|00000790| 64 65 52 65 73 6f 75 72 | 63 65 5f 46 69 6c 65 73 |deResour|ce_Files|
|000007a0| 2e 63 0d 2d 61 6e 64 20 | 61 34 20 76 65 72 73 69 |.c.-and |a4 versi|
|000007b0| 6f 6e 73 20 6f 66 20 41 | 4e 53 49 20 75 6e 69 78 |ons of A|NSI unix|
|000007c0| 20 65 74 63 20 6c 69 62 | 72 61 72 69 65 73 20 69 | etc lib|raries i|
|000007d0| 66 20 6e 65 65 64 65 64 | 2e 0d 0d 49 66 20 79 6f |f needed|...If yo|
|000007e0| 75 72 20 63 6f 64 65 20 | 72 65 73 6f 75 72 63 65 |ur code |resource|
|000007f0| 20 77 69 6c 6c 20 62 65 | 20 6c 61 72 67 65 2c 20 | will be| large, |
|00000800| 70 6c 61 63 65 20 43 6f | 64 65 5f 4d 61 69 6e 2e |place Co|de_Main.|
|00000810| 63 20 69 6e 20 61 20 73 | 65 67 6d 65 6e 74 0d 62 |c in a s|egment.b|
|00000820| 79 20 69 74 73 65 6c 66 | 2e 20 54 68 65 20 73 65 |y itself|. The se|
|00000830| 67 6d 65 6e 74 20 63 6f | 6e 74 61 69 6e 69 6e 67 |gment co|ntaining|
|00000840| 20 43 6f 64 65 5f 4d 61 | 69 6e 2e 63 20 61 6c 73 | Code_Ma|in.c als|
|00000850| 6f 20 63 6f 6e 74 61 69 | 6e 73 20 79 6f 75 72 0d |o contai|ns your.|
|00000860| 6a 75 6d 70 20 74 61 62 | 6c 65 20 61 6e 64 20 67 |jump tab|le and g|
|00000870| 6c 6f 62 61 6c 20 76 61 | 72 69 61 62 6c 65 73 2c |lobal va|riables,|
|00000880| 20 73 6f 20 74 68 65 20 | 63 6f 64 65 20 74 68 65 | so the |code the|
|00000890| 72 65 20 6e 65 65 64 73 | 20 74 6f 20 62 65 20 6b |re needs| to be k|
|000008a0| 65 70 74 0d 61 73 20 73 | 6d 61 6c 6c 20 61 73 20 |ept.as s|mall as |
|000008b0| 70 6f 73 73 69 62 6c 65 | 2e 0d 2a 2f 0d 0d 23 69 |possible|..*/..#i|
|000008c0| 6e 63 6c 75 64 65 20 22 | 41 70 70 43 6f 64 65 43 |nclude "|AppCodeC|
|000008d0| 6f 6d 6d 2e 68 22 0d 23 | 69 6e 63 6c 75 64 65 20 |omm.h".#|include |
|000008e0| 3c 73 74 72 69 6e 67 2e | 68 3e 0d 0d 2f 2a 20 47 |<string.|h>../* G|
|000008f0| 6c 6f 62 61 6c 20 63 6f | 70 79 20 6f 66 20 74 68 |lobal co|py of th|
|00000900| 65 20 41 70 70 43 6f 64 | 65 43 6f 6d 6d 20 73 74 |e AppCod|eComm st|
|00000910| 72 75 63 74 20 70 61 73 | 73 65 64 20 66 72 6f 6d |ruct pas|sed from|
|00000920| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00000930| 0d 74 6f 20 74 68 65 20 | 63 6f 64 65 20 72 65 73 |.to the |code res|
|00000940| 6f 75 72 63 65 20 2d 20 | 67 61 63 63 20 73 74 61 |ource - |gacc sta|
|00000950| 6e 64 73 20 66 6f 72 20 | 47 6c 6f 62 61 6c 20 41 |nds for |Global A|
|00000960| 70 70 6c 69 63 61 74 69 | 6f 6e 2d 43 6f 64 65 20 |pplicati|on-Code |
|00000970| 72 65 73 6f 75 72 63 65 | 0d 43 6f 6d 6d 75 6e 69 |resource|.Communi|
|00000980| 63 61 74 69 6f 6e 2e 20 | 2a 2f 0d 41 70 70 43 6f |cation. |*/.AppCo|
|00000990| 64 65 43 6f 6d 6d 09 67 | 61 63 63 3b 0d 0d 2f 2a |deComm.g|acc;../*|
|000009a0| 20 47 6c 6f 62 61 6c 20 | 74 6f 20 69 6e 64 69 63 | Global |to indic|
|000009b0| 61 74 65 20 69 66 20 63 | 61 6c 6c 69 6e 67 20 61 |ate if c|alling a|
|000009c0| 70 70 27 73 20 65 76 65 | 6e 74 20 6c 6f 6f 70 20 |pp's eve|nt loop |
|000009d0| 68 61 73 20 62 65 65 6e | 20 6d 61 64 65 0d 61 76 |has been| made.av|
|000009e0| 61 69 6c 61 62 6c 65 20 | 61 6e 64 20 73 68 6f 75 |ailable |and shou|
|000009f0| 6c 64 20 63 61 6c 6c 20 | 69 74 20 2a 2f 0d 42 6f |ld call |it */.Bo|
|00000a00| 6f 6c 65 61 6e 20 67 43 | 6f 6e 63 75 72 72 65 6e |olean gC|oncurren|
|00000a10| 74 3b 0d 0d 23 69 66 6e | 64 65 66 20 4e 55 4c 4c |t;..#ifn|def NULL|
|00000a20| 0d 23 64 65 66 69 6e 65 | 20 4e 55 4c 4c 09 09 28 |.#define| NULL..(|
|00000a30| 28 76 6f 69 64 20 2a 29 | 20 30 29 0d 23 65 6e 64 |(void *)| 0).#end|
|00000a40| 69 66 0d 0d 6c 6f 6e 67 | 20 5f 63 6f 64 65 5f 61 |if..long| _code_a|
|00000a50| 34 2c 20 5f 61 70 70 5f | 61 34 3b 0d 0d 23 64 65 |4, _app_|a4;..#de|
|00000a60| 66 69 6e 65 20 53 65 74 | 55 70 41 34 28 29 09 61 |fine Set|UpA4().a|
|00000a70| 73 6d 20 7b 20 6d 6f 76 | 65 2e 6c 20 61 34 2c 5f |sm { mov|e.l a4,_|
|00000a80| 74 65 6d 70 5f 61 20 7d | 5c 0d 09 09 09 09 09 61 |temp_a }|\......a|
|00000a90| 73 6d 20 7b 20 6d 6f 76 | 65 2e 6c 20 5f 74 65 6d |sm { mov|e.l _tem|
|00000aa0| 70 5f 63 2c 20 61 34 20 | 7d 5c 0d 09 09 09 09 09 |p_c, a4 |}\......|
|00000ab0| 5f 61 70 70 5f 61 34 20 | 3d 20 5f 74 65 6d 70 5f |_app_a4 |= _temp_|
|00000ac0| 61 3b 0d 09 09 09 09 09 | 09 09 0d 0d 23 64 65 66 |a;......|....#def|
|00000ad0| 69 6e 65 20 52 65 73 74 | 6f 72 65 41 34 28 29 09 |ine Rest|oreA4().|
|00000ae0| 09 6c 6f 6e 67 09 5f 74 | 65 6d 70 5f 61 2c 20 5f |.long._t|emp_a, _|
|00000af0| 74 65 6d 70 5f 63 20 3d | 20 5f 63 6f 64 65 5f 61 |temp_c =| _code_a|
|00000b00| 34 3b 5c 0d 09 09 09 09 | 09 09 61 73 6d 20 7b 20 |4;\.....|..asm { |
|00000b10| 6d 6f 76 65 2e 6c 20 5f | 61 70 70 5f 61 34 2c 61 |move.l _|app_a4,a|
|00000b20| 34 20 7d 0d 2f 2a 0d 2d | 63 61 6c 6c 20 52 65 73 |4 }./*.-|call Res|
|00000b30| 74 6f 72 65 41 34 28 29 | 20 61 74 20 76 65 72 79 |toreA4()| at very|
|00000b40| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 63 61 | beginni|ng of ca|
|00000b50| 6c 6c 62 61 63 6b 0d 2d | 61 74 20 65 6e 64 20 6f |llback.-|at end o|
|00000b60| 66 20 65 61 63 68 20 63 | 61 6c 6c 62 61 63 6b 20 |f each c|allback |
|00000b70| 64 6f 20 53 65 74 55 70 | 41 34 28 29 0d 2d 74 68 |do SetUp|A4().-th|
|00000b80| 65 72 65 27 73 20 61 6c | 73 6f 20 61 20 62 69 74 |ere's al|so a bit|
|00000b90| 20 6f 66 20 61 73 6d 20 | 61 74 20 74 68 65 20 74 | of asm |at the t|
|00000ba0| 6f 70 20 6f 66 20 6d 61 | 69 6e 28 29 20 74 6f 20 |op of ma|in() to |
|00000bb0| 72 65 63 6f 76 65 72 20 | 61 30 2c 0d 09 77 68 69 |recover |a0,..whi|
|00000bc0| 63 68 20 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |ch conta|ins the |
|00000bd0| 43 6f 64 65 27 73 20 61 | 34 20 76 61 6c 75 65 2c |Code's a|4 value,|
|00000be0| 20 61 6e 64 20 61 74 20 | 62 6f 74 74 6f 6d 20 74 | and at |bottom t|
|00000bf0| 6f 20 72 65 73 74 6f 72 | 65 20 61 34 2e 0d 2a 2f |o restor|e a4..*/|
|00000c00| 0d 0d 2f 2a 20 22 6d 61 | 69 6e 22 20 63 61 6c 6c |../* "ma|in" call|
|00000c10| 20 66 6f 72 20 74 68 65 | 20 73 70 65 63 69 66 69 | for the| specifi|
|00000c20| 63 20 63 6f 64 65 20 72 | 65 73 6f 75 72 63 65 20 |c code r|esource |
|00000c30| 2a 2f 0d 09 09 09 43 48 | 41 4e 47 45 20 54 48 49 |*/....CH|ANGE THI|
|00000c40| 53 0d 65 78 74 65 72 6e | 20 73 68 6f 72 74 20 09 |S.extern| short .|
|00000c50| 49 6e 76 6f 6b 65 52 65 | 73 6f 75 72 63 65 28 76 |InvokeRe|source(v|
|00000c60| 6f 69 64 29 3b 20 2f 2a | 20 73 65 65 20 3f 3f 2e |oid); /*| see ??.|
|00000c70| 63 20 2a 2f 0d 0d 2f 2a | 20 50 72 6f 74 6f 73 20 |c */../*| Protos |
|00000c80| 66 6f 72 20 66 75 6e 63 | 74 69 6f 6e 73 20 69 6e |for func|tions in|
|00000c90| 20 74 68 69 73 20 66 69 | 6c 65 20 2a 2f 0d 76 6f | this fi|le */.vo|
|00000ca0| 69 64 20 6d 61 69 6e 28 | 41 43 43 50 74 72 20 61 |id main(|ACCPtr a|
|00000cb0| 63 29 3b 0d 2f 2a 20 43 | 61 6c 6c 62 61 63 6b 73 |c);./* C|allbacks|
|00000cc0| 2c 20 74 6f 20 62 65 20 | 6d 61 64 65 20 61 76 61 |, to be |made ava|
|00000cd0| 69 6c 61 62 6c 65 20 74 | 6f 20 6f 74 68 65 72 20 |ilable t|o other |
|00000ce0| 66 69 6c 65 73 20 2a 2f | 0d 73 68 6f 72 74 20 49 |files */|.short I|
|00000cf0| 6e 44 69 63 74 69 6f 6e | 61 72 79 28 63 68 61 72 |nDiction|ary(char|
|00000d00| 20 2a 74 6f 6b 65 6e 4e | 61 6d 65 29 3b 0d 42 6f | *tokenN|ame);.Bo|
|00000d10| 6f 6c 65 61 6e 20 48 61 | 73 49 6e 44 69 63 74 69 |olean Ha|sInDicti|
|00000d20| 6f 6e 61 72 79 28 76 6f | 69 64 29 3b 0d 48 61 6e |onary(vo|id);.Han|
|00000d30| 64 6c 65 20 47 65 74 46 | 72 6f 6e 74 54 65 78 74 |dle GetF|rontText|
|00000d40| 28 42 6f 6f 6c 65 61 6e | 20 67 65 74 49 74 41 6c |(Boolean| getItAl|
|00000d50| 6c 29 3b 0d 42 6f 6f 6c | 65 61 6e 20 48 61 73 47 |l);.Bool|ean HasG|
|00000d60| 65 74 46 72 6f 6e 74 54 | 65 78 74 28 76 6f 69 64 |etFrontT|ext(void|
|00000d70| 29 3b 0d 76 6f 69 64 20 | 47 65 74 4e 65 78 74 4d |);.void |GetNextM|
|00000d80| 75 6c 74 69 46 69 6c 65 | 28 73 68 6f 72 74 20 2a |ultiFile|(short *|
|00000d90| 70 61 6e 65 50 74 72 2c | 20 73 68 6f 72 74 20 2a |panePtr,| short *|
|00000da0| 69 6e 64 65 78 50 74 72 | 2c 20 0d 09 09 73 68 6f |indexPtr|, ...sho|
|00000db0| 72 74 20 2a 76 52 65 66 | 4e 75 6d 50 74 72 2c 20 |rt *vRef|NumPtr, |
|00000dc0| 63 68 61 72 20 2a 66 69 | 6c 65 4e 61 6d 65 2c 20 |char *fi|leName, |
|00000dd0| 42 6f 6f 6c 65 61 6e 20 | 63 6c 65 61 72 46 6c 61 |Boolean |clearFla|
|00000de0| 67 29 3b 0d 42 6f 6f 6c | 65 61 6e 20 48 61 73 47 |g);.Bool|ean HasG|
|00000df0| 65 74 4e 65 78 74 4d 75 | 6c 74 69 46 69 6c 65 28 |etNextMu|ltiFile(|
|00000e00| 76 6f 69 64 29 3b 0d 73 | 68 6f 72 74 20 4f 4b 53 |void);.s|hort OKS|
|00000e10| 74 6f 70 41 6c 65 72 74 | 28 50 74 72 20 63 73 74 |topAlert|(Ptr cst|
|00000e20| 72 69 6e 67 50 74 72 29 | 3b 0d 42 6f 6f 6c 65 61 |ringPtr)|;.Boolea|
|00000e30| 6e 20 48 61 73 4f 4b 53 | 74 6f 70 41 6c 65 72 74 |n HasOKS|topAlert|
|00000e40| 28 76 6f 69 64 29 3b 0d | 76 6f 69 64 20 4d 65 6d |(void);.|void Mem|
|00000e50| 6f 72 79 41 6c 65 72 74 | 28 76 6f 69 64 29 3b 0d |oryAlert|(void);.|
|00000e60| 42 6f 6f 6c 65 61 6e 20 | 48 61 73 4d 65 6d 6f 72 |Boolean |HasMemor|
|00000e70| 79 41 6c 65 72 74 28 76 | 6f 69 64 29 3b 0d 73 68 |yAlert(v|oid);.sh|
|00000e80| 6f 72 74 20 47 65 74 53 | 63 72 65 65 6e 48 65 69 |ort GetS|creenHei|
|00000e90| 67 68 74 28 76 6f 69 64 | 29 3b 0d 42 6f 6f 6c 65 |ght(void|);.Boole|
|00000ea0| 61 6e 20 48 61 73 47 65 | 74 53 63 72 65 65 6e 48 |an HasGe|tScreenH|
|00000eb0| 65 69 67 68 74 28 76 6f | 69 64 29 3b 0d 73 68 6f |eight(vo|id);.sho|
|00000ec0| 72 74 20 47 65 74 53 63 | 72 65 65 6e 57 69 64 74 |rt GetSc|reenWidt|
|00000ed0| 68 28 76 6f 69 64 29 3b | 0d 42 6f 6f 6c 65 61 6e |h(void);|.Boolean|
|00000ee0| 20 48 61 73 47 65 74 53 | 63 72 65 65 6e 57 69 64 | HasGetS|creenWid|
|00000ef0| 74 68 28 76 6f 69 64 29 | 3b 0d 76 6f 69 64 20 53 |th(void)|;.void S|
|00000f00| 65 74 57 61 74 63 68 43 | 75 72 73 6f 72 28 76 6f |etWatchC|ursor(vo|
|00000f10| 69 64 29 3b 0d 42 6f 6f | 6c 65 61 6e 20 48 61 73 |id);.Boo|lean Has|
|00000f20| 53 65 74 57 61 74 63 68 | 43 75 72 73 6f 72 28 76 |SetWatch|Cursor(v|
|00000f30| 6f 69 64 29 3b 0d 76 6f | 69 64 20 44 6f 45 76 65 |oid);.vo|id DoEve|
|00000f40| 6e 74 4c 6f 6f 70 4f 6e | 63 65 28 76 6f 69 64 29 |ntLoopOn|ce(void)|
|00000f50| 3b 0d 42 6f 6f 6c 65 61 | 6e 20 48 61 73 44 6f 45 |;.Boolea|n HasDoE|
|00000f60| 76 65 6e 74 4c 6f 6f 70 | 4f 6e 63 65 28 76 6f 69 |ventLoop|Once(voi|
|00000f70| 64 29 3b 0d 48 61 6e 64 | 6c 65 20 47 65 74 54 68 |d);.Hand|le GetTh|
|00000f80| 65 43 6c 69 70 28 76 6f | 69 64 29 3b 0d 42 6f 6f |eClip(vo|id);.Boo|
|00000f90| 6c 65 61 6e 20 48 61 73 | 47 65 74 54 68 65 43 6c |lean Has|GetTheCl|
|00000fa0| 69 70 28 76 6f 69 64 29 | 3b 0d 73 68 6f 72 74 20 |ip(void)|;.short |
|00000fb0| 50 75 74 54 68 65 43 6c | 69 70 28 63 68 61 72 20 |PutTheCl|ip(char |
|00000fc0| 2a 6e 65 77 43 6c 69 70 | 53 74 72 29 3b 0d 42 6f |*newClip|Str);.Bo|
|00000fd0| 6f 6c 65 61 6e 20 48 61 | 73 50 75 74 54 68 65 43 |olean Ha|sPutTheC|
|00000fe0| 6c 69 70 28 76 6f 69 64 | 29 3b 0d 0d 2f 2a 20 54 |lip(void|);../* T|
|00000ff0| 68 65 20 22 6d 61 69 6e | 22 20 74 68 61 74 20 69 |he "main|" that i|
|00001000| 73 20 63 61 6c 6c 65 64 | 20 66 72 6f 6d 20 74 68 |s called| from th|
|00001010| 65 20 72 75 6e 6e 69 6e | 67 20 61 70 70 6c 69 63 |e runnin|g applic|
|00001020| 61 74 69 6f 6e 2e 20 54 | 68 69 73 20 66 69 6c 65 |ation. T|his file|
|00001030| 20 69 73 0d 6b 65 70 74 | 20 73 6d 61 6c 6c 2c 20 | is.kept| small, |
|00001040| 61 6e 64 20 62 65 73 74 | 20 69 6e 20 69 74 73 20 |and best| in its |
|00001050| 6f 77 6e 20 73 65 67 6d | 65 6e 74 20 62 65 63 61 |own segm|ent beca|
|00001060| 75 73 65 20 6c 6f 74 73 | 20 6f 66 20 6f 74 68 65 |use lots| of othe|
|00001070| 72 20 74 68 69 6e 67 73 | 20 67 65 74 20 70 69 6c |r things| get pil|
|00001080| 65 64 0d 69 6e 74 6f 20 | 68 65 72 65 20 61 73 20 |ed.into |here as |
|00001090| 77 65 6c 6c 20 2d 20 74 | 68 65 20 6a 75 6d 70 20 |well - t|he jump |
|000010a0| 74 61 62 6c 65 20 66 6f | 72 20 74 68 65 20 63 6f |table fo|r the co|
|000010b0| 64 65 20 72 65 73 6f 75 | 72 63 65 2c 20 66 6f 72 |de resou|rce, for|
|000010c0| 20 65 78 61 6d 70 6c 65 | 2e 0d 53 6f 20 64 6f 20 | example|..So do |
|000010d0| 74 68 65 20 62 61 72 65 | 20 6d 69 6e 69 6d 75 6d |the bare| minimum|
|000010e0| 20 2d 20 73 65 74 20 75 | 70 20 74 68 65 20 67 6c | - set u|p the gl|
|000010f0| 6f 62 61 6c 20 72 65 67 | 69 73 74 65 72 20 72 65 |obal reg|ister re|
|00001100| 66 65 72 65 6e 63 65 2c | 20 63 61 6c 6c 20 74 68 |ference,| call th|
|00001110| 65 0d 63 6f 64 65 20 72 | 65 73 6f 75 72 63 65 20 |e.code r|esource |
|00001120| 6d 61 69 6e 20 66 75 6e | 63 74 69 6f 6e 2c 20 70 |main fun|ction, p|
|00001130| 61 73 73 20 62 61 63 6b | 20 61 20 72 65 73 75 6c |ass back| a resul|
|00001140| 74 20 63 6f 64 65 2c 20 | 61 6e 64 20 72 65 73 74 |t code, |and rest|
|00001150| 6f 72 65 20 74 68 65 0d | 61 34 20 72 65 67 69 73 |ore the.|a4 regis|
|00001160| 74 65 72 2e 20 46 75 6e | 63 74 69 6f 6e 73 20 62 |ter. Fun|ctions b|
|00001170| 65 6c 6f 77 20 6d 61 69 | 6e 28 29 20 61 72 65 20 |elow mai|n() are |
|00001180| 74 68 65 20 65 78 74 65 | 6e 73 69 6f 6e 20 69 6e |the exte|nsion in|
|00001190| 74 65 72 66 61 63 65 0d | 66 75 6e 63 74 69 6f 6e |terface.|function|
|000011a0| 73 2c 20 77 68 69 63 68 | 20 6d 75 73 74 20 62 65 |s, which| must be|
|000011b0| 20 69 6e 20 74 68 69 73 | 20 66 69 6c 65 20 74 6f | in this| file to|
|000011c0| 20 6d 61 6b 65 20 75 73 | 65 20 6f 66 20 74 68 65 | make us|e of the|
|000011d0| 20 6c 69 74 74 6c 65 20 | 66 75 6e 63 74 69 6f 6e | little |function|
|000011e0| 73 0d 61 62 6f 76 65 20 | 74 68 61 74 20 73 61 76 |s.above |that sav|
|000011f0| 65 20 61 6e 64 20 72 65 | 73 74 6f 72 65 20 61 34 |e and re|store a4|
|00001200| 2e 20 54 68 65 79 20 61 | 6c 6c 20 63 68 65 63 6b |. They a|ll check|
|00001210| 20 74 6f 20 73 65 65 20 | 74 68 61 74 20 74 68 65 | to see |that the|
|00001220| 20 65 78 74 65 6e 73 69 | 6f 6e 0d 69 6e 20 71 75 | extensi|on.in qu|
|00001230| 65 73 74 69 6f 6e 20 68 | 61 73 20 62 65 65 6e 20 |estion h|as been |
|00001240| 70 61 73 73 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |passed f|rom the |
|00001250| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2c 20 61 6e 64 |applicat|ion, and|
|00001260| 20 69 66 20 6e 6f 74 20 | 65 69 74 68 65 72 20 72 | if not |either r|
|00001270| 65 74 75 72 6e 0d 61 20 | 7a 65 72 6f 20 6f 72 20 |eturn.a |zero or |
|00001280| 4e 55 4c 4c 20 6f 72 20 | 72 65 74 75 72 6e 20 61 |NULL or |return a|
|00001290| 20 73 61 66 65 20 67 65 | 6e 65 72 61 6c 20 76 61 | safe ge|neral va|
|000012a0| 6c 75 65 2e 20 4e 6f 20 | 65 78 74 65 6e 73 69 6f |lue. No |extensio|
|000012b0| 6e 20 73 68 6f 75 6c 64 | 20 62 65 0d 65 73 73 65 |n should| be.esse|
|000012c0| 6e 74 69 61 6c 20 74 6f | 20 74 68 65 20 6f 70 65 |ntial to| the ope|
|000012d0| 72 61 74 69 6f 6e 20 6f | 66 20 74 68 65 20 63 6f |ration o|f the co|
|000012e0| 64 65 20 72 65 73 6f 75 | 72 63 65 2e 0d 2a 2f 0d |de resou|rce..*/.|
|000012f0| 2f 2a 20 72 65 73 75 6c | 74 73 3a 0d 3c 3d 20 2d |/* resul|ts:.<= -|
|00001300| 33 20 3a 20 63 6f 75 6e | 74 73 20 61 73 20 2d 31 |3 : coun|ts as -1|
|00001310| 20 61 74 20 70 72 65 73 | 65 6e 74 0d 2d 32 20 3a | at pres|ent.-2 :|
|00001320| 20 73 68 6f 77 20 73 74 | 64 65 72 72 0d 2d 31 20 | show st|derr.-1 |
|00001330| 3a 20 75 73 65 72 20 63 | 61 6e 63 65 6c 6c 65 64 |: user c|ancelled|
|00001340| 20 6f 72 20 65 72 72 6f | 72 20 64 75 72 69 6e 67 | or erro|r during|
|00001350| 20 64 69 61 6c 6f 67 20 | 2d 20 6e 6f 20 72 75 6e | dialog |- no run|
|00001360| 0d 30 20 20 3a 20 72 75 | 6e 20 4f 4b 2c 20 64 6f |.0 : ru|n OK, do|
|00001370| 20 6e 6f 74 68 69 6e 67 | 20 73 70 65 63 69 61 6c | nothing| special|
|00001380| 20 61 66 74 65 72 0d 31 | 20 20 3a 20 73 68 6f 77 | after.1| : show|
|00001390| 20 73 74 64 6f 75 74 0d | 32 20 20 3a 20 73 68 6f | stdout.|2 : sho|
|000013a0| 77 20 61 6e 64 20 73 65 | 6c 65 63 74 20 73 74 64 |w and se|lect std|
|000013b0| 6f 75 74 0d 3e 20 32 20 | 3a 20 6e 6f 20 61 63 74 |out.> 2 |: no act|
|000013c0| 69 6f 6e 20 61 74 20 70 | 72 65 73 65 6e 74 20 28 |ion at p|resent (|
|000013d0| 63 6f 75 6e 74 73 20 61 | 73 20 65 71 75 69 76 61 |counts a|s equiva|
|000013e0| 6c 65 6e 74 20 74 6f 20 | 30 29 0d 2a 2f 0d 76 6f |lent to |0).*/.vo|
|000013f0| 69 64 20 6d 61 69 6e 28 | 41 43 43 50 74 72 20 61 |id main(|ACCPtr a|
|00001400| 63 29 0d 09 7b 0d 09 73 | 68 6f 72 74 09 72 65 73 |c)..{..s|hort.res|
|00001410| 75 6c 74 3b 0d 09 6c 6f | 6e 67 09 5f 74 65 6d 70 |ult;..lo|ng._temp|
|00001420| 5f 61 2c 20 5f 74 65 6d | 70 5f 63 3b 0d 09 0d 09 |_a, _tem|p_c;....|
|00001430| 2f 2a 20 69 6e 69 74 69 | 61 6c 20 73 65 74 75 70 |/* initi|al setup|
|00001440| 20 6f 66 20 61 34 20 2a | 2f 0d 09 61 73 6d 0d 09 | of a4 *|/..asm..|
|00001450| 09 7b 0d 09 09 6d 6f 76 | 65 2e 6c 09 61 34 2c 20 |.{...mov|e.l.a4, |
|00001460| 5f 74 65 6d 70 5f 61 0d | 09 09 6d 6f 76 65 2e 6c |_temp_a.|..move.l|
|00001470| 09 61 30 2c 20 5f 74 65 | 6d 70 5f 63 0d 09 09 6d |.a0, _te|mp_c...m|
|00001480| 6f 76 65 2e 6c 09 61 30 | 2c 20 61 34 0d 09 09 7d |ove.l.a0|, a4...}|
|00001490| 0d 09 5f 61 70 70 5f 61 | 34 20 3d 20 5f 74 65 6d |.._app_a|4 = _tem|
|000014a0| 70 5f 61 3b 0d 09 5f 63 | 6f 64 65 5f 61 34 20 3d |p_a;.._c|ode_a4 =|
|000014b0| 20 5f 74 65 6d 70 5f 63 | 3b 0d 09 0d 09 2f 2a 20 | _temp_c|;..../* |
|000014c0| 55 6e 63 6f 6d 6d 65 6e | 74 20 74 68 69 73 20 66 |Uncommen|t this f|
|000014d0| 6f 72 20 61 20 76 65 72 | 73 69 6f 6e 20 22 73 61 |or a ver|sion "sa|
|000014e0| 6e 69 74 79 20 63 68 65 | 63 6b 22 3a 20 2a 2a 2a |nity che|ck": ***|
|000014f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0d 09 69 66 20 |********|***..if |
|00001500| 28 61 63 2d 3e 76 65 72 | 73 69 6f 6e 20 3c 20 30 |(ac->ver|sion < 0|
|00001510| 20 7c 7c 20 61 63 2d 3e | 76 65 72 73 69 6f 6e 20 | || ac->|version |
|00001520| 3e 20 31 30 30 29 0d 09 | 09 7b 0d 09 09 4f 4b 53 |> 100)..|.{...OKS|
|00001530| 74 6f 70 41 6c 65 72 74 | 28 22 56 65 72 73 69 6f |topAlert|("Versio|
|00001540| 6e 20 6e 75 6d 62 65 72 | 20 70 61 73 73 65 64 20 |n number| passed |
|00001550| 62 79 20 63 61 6c 6c 69 | 6e 67 20 61 70 70 6c 69 |by calli|ng appli|
|00001560| 63 61 74 69 6f 6e 20 5c | 0d 69 73 20 69 6d 70 6f |cation \|.is impo|
|00001570| 73 73 69 62 6c 65 2e 20 | 50 6c 65 61 73 65 20 66 |ssible. |Please f|
|00001580| 69 78 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |ix the a|pplicati|
|00001590| 6f 6e 20 62 65 66 6f 72 | 65 20 74 72 79 69 6e 67 |on befor|e trying|
|000015a0| 20 61 67 61 69 6e 2e 22 | 29 3b 0d 09 09 61 63 2d | again."|);...ac-|
|000015b0| 3e 72 65 73 75 6c 74 20 | 3d 20 2d 31 3b 0d 09 09 |>result |= -1;...|
|000015c0| 61 73 6d 0d 09 09 09 7b | 0d 09 09 09 6d 6f 76 65 |asm....{|....move|
|000015d0| 2e 6c 20 5f 61 70 70 5f | 61 34 2c 20 61 34 0d 09 |.l _app_|a4, a4..|
|000015e0| 09 09 7d 0d 09 09 72 65 | 74 75 72 6e 3b 0d 09 09 |..}...re|turn;...|
|000015f0| 7d 0d 09 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 20 65 6e |}..*****|***** en|
|00001600| 64 20 76 65 72 73 69 6f | 6e 20 63 68 65 63 6b 20 |d versio|n check |
|00001610| 2a 2f 0d 09 0d 09 67 61 | 63 63 20 3d 20 2a 61 63 |*/....ga|cc = *ac|
|00001620| 3b 20 2f 2a 20 6d 61 6b | 65 20 61 20 67 6c 6f 62 |; /* mak|e a glob|
|00001630| 61 6c 20 63 6f 70 79 20 | 2a 2f 0d 09 69 66 20 28 |al copy |*/..if (|
|00001640| 67 61 63 63 2e 76 65 72 | 73 69 6f 6e 20 3c 3d 20 |gacc.ver|sion <= |
|00001650| 31 29 0d 09 09 7b 0d 09 | 09 67 61 63 63 2e 44 6f |1)...{..|.gacc.Do|
|00001660| 45 76 65 6e 74 4c 6f 6f | 70 4f 6e 63 65 5f 45 78 |EventLoo|pOnce_Ex|
|00001670| 74 20 3d 20 4e 55 4c 4c | 3b 0d 09 09 67 61 63 63 |t = NULL|;...gacc|
|00001680| 2e 47 65 74 41 70 70 43 | 6c 69 70 5f 45 78 74 20 |.GetAppC|lip_Ext |
|00001690| 3d 20 4e 55 4c 4c 3b 0d | 09 09 7d 0d 09 69 66 20 |= NULL;.|..}..if |
|000016a0| 28 48 61 73 44 6f 45 76 | 65 6e 74 4c 6f 6f 70 4f |(HasDoEv|entLoopO|
|000016b0| 6e 63 65 28 29 29 0d 09 | 09 67 43 6f 6e 63 75 72 |nce())..|.gConcur|
|000016c0| 72 65 6e 74 20 3d 20 54 | 52 55 45 3b 0d 09 65 6c |rent = T|RUE;..el|
|000016d0| 73 65 0d 09 09 67 43 6f | 6e 63 75 72 72 65 6e 74 |se...gCo|ncurrent|
|000016e0| 20 3d 20 46 41 4c 53 45 | 3b 0d 0d 09 2f 2a 20 63 | = FALSE|;.../* c|
|000016f0| 61 6c 6c 20 27 74 72 75 | 65 27 20 6d 61 69 6e 20 |all 'tru|e' main |
|00001700| 6f 66 20 63 6f 64 65 20 | 72 65 73 6f 75 72 63 65 |of code |resource|
|00001710| 20 2a 2f 0d 09 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | */..---|--------|
|00001720| 2d 2d 2d 43 48 41 4e 47 | 45 20 54 48 49 53 2d 2d |---CHANG|E THIS--|
|00001730| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 09 72 65 73 |--------|---..res|
|00001740| 75 6c 74 20 3d 20 49 6e | 76 6f 6b 65 52 65 73 6f |ult = In|vokeReso|
|00001750| 75 72 63 65 28 29 3b 0d | 09 0d 09 61 63 2d 3e 72 |urce();.|...ac->r|
|00001760| 65 73 75 6c 74 20 3d 20 | 72 65 73 75 6c 74 3b 0d |esult = |result;.|
|00001770| 09 2f 2a 2a 2a 2a 2a 2a | 20 75 6e 6c 6f 61 64 20 |./******| unload |
|00001780| 6e 6f 6e 2d 6d 61 69 6e | 20 73 65 67 6d 65 6e 74 |non-main| segment|
|00001790| 73 2c 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 0d 09 |s, for e|xample..|
|000017a0| 55 6e 6c 6f 61 64 41 34 | 53 65 67 28 4e 65 77 50 |UnloadA4|Seg(NewP|
|000017b0| 74 72 29 3b 0d 09 55 6e | 6c 6f 61 64 41 34 53 65 |tr);..Un|loadA4Se|
|000017c0| 67 28 73 74 72 63 6d 70 | 29 3b 2a 2a 2a 2a 2a 2f |g(strcmp|);*****/|
|000017d0| 0d 09 2f 2a 20 72 65 73 | 74 6f 72 65 20 61 70 70 |../* res|tore app|
|000017e0| 27 73 20 61 34 20 2a 2f | 0d 09 61 73 6d 0d 09 09 |'s a4 */|..asm...|
|000017f0| 7b 0d 09 09 6d 6f 76 65 | 2e 6c 20 5f 61 70 70 5f |{...move|.l _app_|
|00001800| 61 34 2c 20 61 34 0d 09 | 09 7d 0d 09 2f 2a 20 72 |a4, a4..|.}../* r|
|00001810| 65 74 75 72 6e 20 6e 6f | 74 68 69 6e 67 20 2d 20 |eturn no|thing - |
|00001820| 63 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 20 76 69 |communic|ation vi|
|00001830| 61 20 61 63 2d 3e 72 65 | 73 75 6c 74 20 2a 2f 0d |a ac->re|sult */.|
|00001840| 09 7d 0d 0d 2f 2a 20 45 | 78 74 65 6e 73 69 6f 6e |.}../* E|xtension|
|00001850| 20 66 75 6e 63 74 69 6f | 6e 73 2e 20 53 65 65 20 | functio|ns. See |
|00001860| 43 61 6c 6c 5f 52 65 73 | 6f 75 72 63 65 2e 63 20 |Call_Res|ource.c |
|00001870| 66 6f 72 20 64 65 74 61 | 69 6c 73 0d 6f 6e 20 77 |for deta|ils.on w|
|00001880| 68 61 74 20 74 68 65 73 | 65 20 64 6f 2e 20 45 6e |hat thes|e do. En|
|00001890| 74 65 72 41 63 74 20 73 | 75 70 70 6c 69 65 73 20 |terAct s|upplies |
|000018a0| 74 68 65 6d 20 61 6c 6c | 2c 20 62 75 74 20 79 6f |them all|, but yo|
|000018b0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 0d 64 |ur appli|cation.d|
|000018c0| 6f 65 73 6e 27 74 20 68 | 61 76 65 20 74 6f 20 73 |oesn't h|ave to s|
|000018d0| 75 70 70 6c 79 20 61 6e | 79 20 6f 66 20 74 68 65 |upply an|y of the|
|000018e0| 6d 2c 20 61 6e 64 20 79 | 6f 75 72 20 63 6f 64 65 |m, and y|our code|
|000018f0| 20 72 65 73 6f 75 72 63 | 65 20 73 68 6f 75 6c 64 | resourc|e should|
|00001900| 0d 6e 6f 74 20 72 65 6c | 79 20 6f 6e 20 61 6e 79 |.not rel|y on any|
|00001910| 20 6f 66 20 74 68 65 6d | 20 62 65 69 6e 67 20 61 | of them| being a|
|00001920| 76 61 69 6c 61 62 6c 65 | 2e 0d 0d 41 20 42 6f 6f |vailable|...A Boo|
|00001930| 6c 65 61 6e 20 63 6f 6d | 70 61 6e 69 6f 6e 20 66 |lean com|panion f|
|00001940| 75 6e 63 74 69 6f 6e 20 | 66 6f 72 20 65 61 63 68 |unction |for each|
|00001950| 20 65 78 74 65 6e 73 69 | 6f 6e 20 72 65 70 6f 72 | extensi|on repor|
|00001960| 74 73 20 77 68 65 74 68 | 65 72 0d 74 68 65 20 65 |ts wheth|er.the e|
|00001970| 78 74 65 6e 73 69 6f 6e | 20 69 73 20 61 76 61 69 |xtension| is avai|
|00001980| 6c 61 62 6c 65 20 66 6f | 72 20 75 73 65 2e 20 0d |lable fo|r use. .|
|00001990| 2a 2f 0d 0d 73 68 6f 72 | 74 20 49 6e 44 69 63 74 |*/..shor|t InDict|
|000019a0| 69 6f 6e 61 72 79 28 63 | 68 61 72 20 2a 74 6f 6b |ionary(c|har *tok|
|000019b0| 65 6e 4e 61 6d 65 29 0d | 09 7b 0d 09 41 43 43 50 |enName).|.{..ACCP|
|000019c0| 74 72 09 6c 61 63 63 70 | 20 3d 20 26 67 61 63 63 |tr.laccp| = &gacc|
|000019d0| 3b 20 2f 2a 20 6d 75 73 | 74 20 75 73 65 20 61 20 |; /* mus|t use a |
|000019e0| 6c 6f 63 61 6c 20 70 6f | 69 6e 74 65 72 20 2a 2f |local po|inter */|
|000019f0| 0d 09 73 68 6f 72 74 09 | 72 65 74 3b 0d 09 0d 09 |..short.|ret;....|
|00001a00| 52 65 73 74 6f 72 65 41 | 34 28 29 3b 0d 09 69 66 |RestoreA|4();..if|
|00001a10| 20 28 6c 61 63 63 70 2d | 3e 49 6e 44 69 63 74 69 | (laccp-|>InDicti|
|00001a20| 6f 6e 61 72 79 5f 45 78 | 74 20 21 3d 20 4e 55 4c |onary_Ex|t != NUL|
|00001a30| 4c 29 0d 09 09 72 65 74 | 20 3d 20 28 2a 28 6c 61 |L)...ret| = (*(la|
|00001a40| 63 63 70 2d 3e 49 6e 44 | 69 63 74 69 6f 6e 61 72 |ccp->InD|ictionar|
|00001a50| 79 5f 45 78 74 29 29 28 | 74 6f 6b 65 6e 4e 61 6d |y_Ext))(|tokenNam|
|00001a60| 65 29 3b 0d 09 65 6c 73 | 65 0d 09 09 72 65 74 20 |e);..els|e...ret |
|00001a70| 3d 20 30 3b 0d 09 53 65 | 74 55 70 41 34 28 29 3b |= 0;..Se|tUpA4();|
|00001a80| 0d 09 72 65 74 75 72 6e | 28 72 65 74 29 3b 0d 09 |..return|(ret);..|
|00001a90| 7d 0d 0d 42 6f 6f 6c 65 | 61 6e 20 48 61 73 49 6e |}..Boole|an HasIn|
|00001aa0| 44 69 63 74 69 6f 6e 61 | 72 79 28 29 0d 09 7b 0d |Dictiona|ry()..{.|
|00001ab0| 09 72 65 74 75 72 6e 28 | 67 61 63 63 2e 49 6e 44 |.return(|gacc.InD|
|00001ac0| 69 63 74 69 6f 6e 61 72 | 79 5f 45 78 74 20 21 3d |ictionar|y_Ext !=|
|00001ad0| 20 4e 55 4c 4c 29 3b 0d | 09 7d 0d 0d 48 61 6e 64 | NULL);.|.}..Hand|
|00001ae0| 6c 65 20 47 65 74 46 72 | 6f 6e 74 54 65 78 74 28 |le GetFr|ontText(|
|00001af0| 42 6f 6f 6c 65 61 6e 20 | 67 65 74 49 74 41 6c 6c |Boolean |getItAll|
|00001b00| 29 0d 09 7b 0d 09 41 43 | 43 50 74 72 09 6c 61 63 |)..{..AC|CPtr.lac|
|00001b10| 63 70 20 3d 20 26 67 61 | 63 63 3b 20 2f 2a 20 6d |cp = &ga|cc; /* m|
|00001b20| 75 73 74 20 75 73 65 20 | 61 20 6c 6f 63 61 6c 20 |ust use |a local |
|00001b30| 70 6f 69 6e 74 65 72 20 | 2a 2f 0d 09 48 61 6e 64 |pointer |*/..Hand|
|00001b40| 6c 65 09 72 65 74 3b 0d | 09 0d 09 52 65 73 74 6f |le.ret;.|...Resto|
|00001b50| 72 65 41 34 28 29 3b 0d | 09 69 66 20 28 6c 61 63 |reA4();.|.if (lac|
|00001b60| 63 70 2d 3e 47 65 74 46 | 72 6f 6e 74 54 65 78 74 |cp->GetF|rontText|
|00001b70| 5f 45 78 74 20 21 3d 20 | 4e 55 4c 4c 29 0d 09 09 |_Ext != |NULL)...|
|00001b80| 72 65 74 20 3d 20 28 2a | 28 6c 61 63 63 70 2d 3e |ret = (*|(laccp->|
|00001b90| 47 65 74 46 72 6f 6e 74 | 54 65 78 74 5f 45 78 74 |GetFront|Text_Ext|
|00001ba0| 29 29 28 67 65 74 49 74 | 41 6c 6c 29 3b 0d 09 65 |))(getIt|All);..e|
|00001bb0| 6c 73 65 0d 09 09 72 65 | 74 20 3d 20 4e 55 4c 4c |lse...re|t = NULL|
|00001bc0| 3b 0d 09 53 65 74 55 70 | 41 34 28 29 3b 0d 09 72 |;..SetUp|A4();..r|
|00001bd0| 65 74 75 72 6e 28 72 65 | 74 29 3b 0d 09 7d 0d 0d |eturn(re|t);..}..|
|00001be0| 42 6f 6f 6c 65 61 6e 20 | 48 61 73 47 65 74 46 72 |Boolean |HasGetFr|
|00001bf0| 6f 6e 74 54 65 78 74 28 | 29 0d 09 7b 0d 09 72 65 |ontText(|)..{..re|
|00001c00| 74 75 72 6e 28 67 61 63 | 63 2e 47 65 74 46 72 6f |turn(gac|c.GetFro|
|00001c10| 6e 74 54 65 78 74 5f 45 | 78 74 20 21 3d 20 4e 55 |ntText_E|xt != NU|
|00001c20| 4c 4c 29 3b 0d 09 7d 0d | 0d 76 6f 69 64 20 47 65 |LL);..}.|.void Ge|
|00001c30| 74 4e 65 78 74 4d 75 6c | 74 69 46 69 6c 65 28 73 |tNextMul|tiFile(s|
|00001c40| 68 6f 72 74 20 2a 70 61 | 6e 65 50 74 72 2c 20 73 |hort *pa|nePtr, s|
|00001c50| 68 6f 72 74 20 2a 69 6e | 64 65 78 50 74 72 2c 20 |hort *in|dexPtr, |
|00001c60| 0d 09 09 73 68 6f 72 74 | 20 2a 76 52 65 66 4e 75 |...short| *vRefNu|
|00001c70| 6d 50 74 72 2c 20 63 68 | 61 72 20 2a 66 69 6c 65 |mPtr, ch|ar *file|
|00001c80| 4e 61 6d 65 2c 20 42 6f | 6f 6c 65 61 6e 20 63 6c |Name, Bo|olean cl|
|00001c90| 65 61 72 46 6c 61 67 29 | 0d 09 7b 0d 09 41 43 43 |earFlag)|..{..ACC|
|00001ca0| 50 74 72 09 6c 61 63 63 | 70 20 3d 20 26 67 61 63 |Ptr.lacc|p = &gac|
|00001cb0| 63 3b 20 2f 2a 20 6d 75 | 73 74 20 75 73 65 20 61 |c; /* mu|st use a|
|00001cc0| 20 6c 6f 63 61 6c 20 70 | 6f 69 6e 74 65 72 20 2a | local p|ointer *|
|00001cd0| 2f 0d 09 0d 09 52 65 73 | 74 6f 72 65 41 34 28 29 |/....Res|toreA4()|
|00001ce0| 3b 0d 09 69 66 20 28 6c | 61 63 63 70 2d 3e 47 65 |;..if (l|accp->Ge|
|00001cf0| 74 4e 65 78 74 4d 75 6c | 74 69 46 69 6c 65 5f 45 |tNextMul|tiFile_E|
|00001d00| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 0d 09 09 28 2a |xt != NU|LL)...(*|
|00001d10| 28 6c 61 63 63 70 2d 3e | 47 65 74 4e 65 78 74 4d |(laccp->|GetNextM|
|00001d20| 75 6c 74 69 46 69 6c 65 | 5f 45 78 74 29 29 28 70 |ultiFile|_Ext))(p|
|00001d30| 61 6e 65 50 74 72 2c 20 | 69 6e 64 65 78 50 74 72 |anePtr, |indexPtr|
|00001d40| 2c 0d 09 09 09 76 52 65 | 66 4e 75 6d 50 74 72 2c |,....vRe|fNumPtr,|
|00001d50| 20 66 69 6c 65 4e 61 6d | 65 2c 20 63 6c 65 61 72 | fileNam|e, clear|
|00001d60| 46 6c 61 67 29 3b 0d 09 | 65 6c 73 65 0d 09 09 2a |Flag);..|else...*|
|00001d70| 69 6e 64 65 78 50 74 72 | 20 3d 20 2d 31 3b 0d 09 |indexPtr| = -1;..|
|00001d80| 53 65 74 55 70 41 34 28 | 29 3b 0d 09 7d 0d 0d 42 |SetUpA4(|);..}..B|
|00001d90| 6f 6f 6c 65 61 6e 20 48 | 61 73 47 65 74 4e 65 78 |oolean H|asGetNex|
|00001da0| 74 4d 75 6c 74 69 46 69 | 6c 65 28 29 0d 09 7b 0d |tMultiFi|le()..{.|
|00001db0| 09 72 65 74 75 72 6e 28 | 67 61 63 63 2e 47 65 74 |.return(|gacc.Get|
|00001dc0| 4e 65 78 74 4d 75 6c 74 | 69 46 69 6c 65 5f 45 78 |NextMult|iFile_Ex|
|00001dd0| 74 20 21 3d 20 4e 55 4c | 4c 29 3b 0d 09 7d 0d 0d |t != NUL|L);..}..|
|00001de0| 73 68 6f 72 74 20 4f 4b | 53 74 6f 70 41 6c 65 72 |short OK|StopAler|
|00001df0| 74 28 50 74 72 20 63 73 | 74 72 69 6e 67 50 74 72 |t(Ptr cs|tringPtr|
|00001e00| 29 0d 09 7b 0d 09 41 43 | 43 50 74 72 09 6c 61 63 |)..{..AC|CPtr.lac|
|00001e10| 63 70 20 3d 20 26 67 61 | 63 63 3b 20 2f 2a 20 6d |cp = &ga|cc; /* m|
|00001e20| 75 73 74 20 75 73 65 20 | 61 20 6c 6f 63 61 6c 20 |ust use |a local |
|00001e30| 70 6f 69 6e 74 65 72 20 | 2a 2f 0d 09 73 68 6f 72 |pointer |*/..shor|
|00001e40| 74 09 72 65 74 3b 0d 09 | 0d 09 52 65 73 74 6f 72 |t.ret;..|..Restor|
|00001e50| 65 41 34 28 29 3b 0d 09 | 69 66 20 28 6c 61 63 63 |eA4();..|if (lacc|
|00001e60| 70 2d 3e 4f 4b 53 74 6f | 70 41 6c 65 72 74 5f 45 |p->OKSto|pAlert_E|
|00001e70| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 0d 09 09 72 65 |xt != NU|LL)...re|
|00001e80| 74 20 3d 20 28 2a 28 6c | 61 63 63 70 2d 3e 4f 4b |t = (*(l|accp->OK|
|00001e90| 53 74 6f 70 41 6c 65 72 | 74 5f 45 78 74 29 29 28 |StopAler|t_Ext))(|
|00001ea0| 63 73 74 72 69 6e 67 50 | 74 72 29 3b 0d 09 65 6c |cstringP|tr);..el|
|00001eb0| 73 65 0d 09 09 72 65 74 | 20 3d 20 30 3b 0d 09 53 |se...ret| = 0;..S|
|00001ec0| 65 74 55 70 41 34 28 29 | 3b 0d 09 72 65 74 75 72 |etUpA4()|;..retur|
|00001ed0| 6e 28 72 65 74 29 3b 0d | 09 7d 0d 0d 42 6f 6f 6c |n(ret);.|.}..Bool|
|00001ee0| 65 61 6e 20 48 61 73 4f | 4b 53 74 6f 70 41 6c 65 |ean HasO|KStopAle|
|00001ef0| 72 74 28 29 0d 09 7b 0d | 09 72 65 74 75 72 6e 28 |rt()..{.|.return(|
|00001f00| 67 61 63 63 2e 4f 4b 53 | 74 6f 70 41 6c 65 72 74 |gacc.OKS|topAlert|
|00001f10| 5f 45 78 74 20 21 3d 20 | 4e 55 4c 4c 29 3b 0d 09 |_Ext != |NULL);..|
|00001f20| 7d 0d 0d 76 6f 69 64 20 | 4d 65 6d 6f 72 79 41 6c |}..void |MemoryAl|
|00001f30| 65 72 74 28 29 0d 09 7b | 0d 09 41 43 43 50 74 72 |ert()..{|..ACCPtr|
|00001f40| 09 6c 61 63 63 70 20 3d | 20 26 67 61 63 63 3b 20 |.laccp =| &gacc; |
|00001f50| 2f 2a 20 6d 75 73 74 20 | 75 73 65 20 61 20 6c 6f |/* must |use a lo|
|00001f60| 63 61 6c 20 70 6f 69 6e | 74 65 72 20 2a 2f 0d 09 |cal poin|ter */..|
|00001f70| 0d 09 52 65 73 74 6f 72 | 65 41 34 28 29 3b 0d 09 |..Restor|eA4();..|
|00001f80| 69 66 20 28 6c 61 63 63 | 70 2d 3e 4d 65 6d 6f 72 |if (lacc|p->Memor|
|00001f90| 79 41 6c 65 72 74 5f 45 | 78 74 20 21 3d 20 4e 55 |yAlert_E|xt != NU|
|00001fa0| 4c 4c 29 0d 09 09 28 2a | 28 6c 61 63 63 70 2d 3e |LL)...(*|(laccp->|
|00001fb0| 4d 65 6d 6f 72 79 41 6c | 65 72 74 5f 45 78 74 29 |MemoryAl|ert_Ext)|
|00001fc0| 29 28 29 3b 0d 09 53 65 | 74 55 70 41 34 28 29 3b |)();..Se|tUpA4();|
|00001fd0| 0d 09 7d 0d 0d 42 6f 6f | 6c 65 61 6e 20 48 61 73 |..}..Boo|lean Has|
|00001fe0| 4d 65 6d 6f 72 79 41 6c | 65 72 74 28 29 0d 09 7b |MemoryAl|ert()..{|
|00001ff0| 0d 09 72 65 74 75 72 6e | 28 67 61 63 63 2e 4d 65 |..return|(gacc.Me|
|00002000| 6d 6f 72 79 41 6c 65 72 | 74 5f 45 78 74 20 21 3d |moryAler|t_Ext !=|
|00002010| 20 4e 55 4c 4c 29 3b 0d | 09 7d 0d 0d 73 68 6f 72 | NULL);.|.}..shor|
|00002020| 74 20 47 65 74 53 63 72 | 65 65 6e 48 65 69 67 68 |t GetScr|eenHeigh|
|00002030| 74 28 29 0d 09 7b 0d 09 | 41 43 43 50 74 72 09 6c |t()..{..|ACCPtr.l|
|00002040| 61 63 63 70 20 3d 20 26 | 67 61 63 63 3b 20 2f 2a |accp = &|gacc; /*|
|00002050| 20 6d 75 73 74 20 75 73 | 65 20 61 20 6c 6f 63 61 | must us|e a loca|
|00002060| 6c 20 70 6f 69 6e 74 65 | 72 20 2a 2f 0d 09 73 68 |l pointe|r */..sh|
|00002070| 6f 72 74 09 09 72 65 74 | 3b 0d 09 0d 09 52 65 73 |ort..ret|;....Res|
|00002080| 74 6f 72 65 41 34 28 29 | 3b 0d 09 69 66 20 28 6c |toreA4()|;..if (l|
|00002090| 61 63 63 70 2d 3e 47 65 | 74 53 63 72 65 65 6e 48 |accp->Ge|tScreenH|
|000020a0| 65 69 67 68 74 5f 45 78 | 74 20 21 3d 20 4e 55 4c |eight_Ex|t != NUL|
|000020b0| 4c 29 0d 09 09 72 65 74 | 20 3d 20 28 2a 28 6c 61 |L)...ret| = (*(la|
|000020c0| 63 63 70 2d 3e 47 65 74 | 53 63 72 65 65 6e 48 65 |ccp->Get|ScreenHe|
|000020d0| 69 67 68 74 5f 45 78 74 | 29 29 28 29 3b 0d 09 65 |ight_Ext|))();..e|
|000020e0| 6c 73 65 0d 09 09 72 65 | 74 20 3d 20 33 34 32 3b |lse...re|t = 342;|
|000020f0| 20 2f 2a 20 6d 69 6e 69 | 6d 75 6d 20 70 6f 73 73 | /* mini|mum poss|
|00002100| 69 62 6c 65 20 2a 2f 0d | 09 53 65 74 55 70 41 34 |ible */.|.SetUpA4|
|00002110| 28 29 3b 0d 09 72 65 74 | 75 72 6e 28 72 65 74 29 |();..ret|urn(ret)|
|00002120| 3b 0d 09 7d 0d 0d 42 6f | 6f 6c 65 61 6e 20 48 61 |;..}..Bo|olean Ha|
|00002130| 73 47 65 74 53 63 72 65 | 65 6e 48 65 69 67 68 74 |sGetScre|enHeight|
|00002140| 28 29 0d 09 7b 0d 09 72 | 65 74 75 72 6e 28 67 61 |()..{..r|eturn(ga|
|00002150| 63 63 2e 47 65 74 53 63 | 72 65 65 6e 48 65 69 67 |cc.GetSc|reenHeig|
|00002160| 68 74 5f 45 78 74 20 21 | 3d 20 4e 55 4c 4c 29 3b |ht_Ext !|= NULL);|
|00002170| 0d 09 7d 0d 0d 73 68 6f | 72 74 20 47 65 74 53 63 |..}..sho|rt GetSc|
|00002180| 72 65 65 6e 57 69 64 74 | 68 28 29 0d 09 7b 0d 09 |reenWidt|h()..{..|
|00002190| 41 43 43 50 74 72 09 6c | 61 63 63 70 20 3d 20 26 |ACCPtr.l|accp = &|
|000021a0| 67 61 63 63 3b 20 2f 2a | 20 6d 75 73 74 20 75 73 |gacc; /*| must us|
|000021b0| 65 20 61 20 6c 6f 63 61 | 6c 20 70 6f 69 6e 74 65 |e a loca|l pointe|
|000021c0| 72 20 2a 2f 0d 09 73 68 | 6f 72 74 09 09 72 65 74 |r */..sh|ort..ret|
|000021d0| 3b 0d 09 0d 09 52 65 73 | 74 6f 72 65 41 34 28 29 |;....Res|toreA4()|
|000021e0| 3b 0d 09 69 66 20 28 6c | 61 63 63 70 2d 3e 47 65 |;..if (l|accp->Ge|
|000021f0| 74 53 63 72 65 65 6e 57 | 69 64 74 68 5f 45 78 74 |tScreenW|idth_Ext|
|00002200| 20 21 3d 20 4e 55 4c 4c | 29 0d 09 09 72 65 74 20 | != NULL|)...ret |
|00002210| 3d 20 28 2a 28 6c 61 63 | 63 70 2d 3e 47 65 74 53 |= (*(lac|cp->GetS|
|00002220| 63 72 65 65 6e 57 69 64 | 74 68 5f 45 78 74 29 29 |creenWid|th_Ext))|
|00002230| 28 29 3b 0d 09 65 6c 73 | 65 0d 09 09 72 65 74 20 |();..els|e...ret |
|00002240| 3d 20 35 31 32 3b 20 2f | 2a 20 6d 69 6e 69 6d 75 |= 512; /|* minimu|
|00002250| 6d 20 70 6f 73 73 69 62 | 6c 65 20 2a 2f 0d 09 53 |m possib|le */..S|
|00002260| 65 74 55 70 41 34 28 29 | 3b 0d 09 72 65 74 75 72 |etUpA4()|;..retur|
|00002270| 6e 28 72 65 74 29 3b 0d | 09 7d 0d 0d 42 6f 6f 6c |n(ret);.|.}..Bool|
|00002280| 65 61 6e 20 48 61 73 47 | 65 74 53 63 72 65 65 6e |ean HasG|etScreen|
|00002290| 57 69 64 74 68 28 29 0d | 09 7b 0d 09 72 65 74 75 |Width().|.{..retu|
|000022a0| 72 6e 28 67 61 63 63 2e | 47 65 74 53 63 72 65 65 |rn(gacc.|GetScree|
|000022b0| 6e 57 69 64 74 68 5f 45 | 78 74 20 21 3d 20 4e 55 |nWidth_E|xt != NU|
|000022c0| 4c 4c 29 3b 0d 09 7d 0d | 0d 76 6f 69 64 20 53 65 |LL);..}.|.void Se|
|000022d0| 74 57 61 74 63 68 43 75 | 72 73 6f 72 28 29 0d 09 |tWatchCu|rsor()..|
|000022e0| 7b 0d 09 41 43 43 50 74 | 72 09 6c 61 63 63 70 20 |{..ACCPt|r.laccp |
|000022f0| 3d 20 26 67 61 63 63 3b | 20 2f 2a 20 6d 75 73 74 |= &gacc;| /* must|
|00002300| 20 75 73 65 20 61 20 6c | 6f 63 61 6c 20 70 6f 69 | use a l|ocal poi|
|00002310| 6e 74 65 72 20 2a 2f 0d | 09 0d 09 52 65 73 74 6f |nter */.|...Resto|
|00002320| 72 65 41 34 28 29 3b 0d | 09 69 66 20 28 6c 61 63 |reA4();.|.if (lac|
|00002330| 63 70 2d 3e 53 65 74 57 | 61 74 63 68 43 75 72 73 |cp->SetW|atchCurs|
|00002340| 6f 72 5f 45 78 74 20 21 | 3d 20 4e 55 4c 4c 29 0d |or_Ext !|= NULL).|
|00002350| 09 09 28 2a 28 6c 61 63 | 63 70 2d 3e 53 65 74 57 |..(*(lac|cp->SetW|
|00002360| 61 74 63 68 43 75 72 73 | 6f 72 5f 45 78 74 29 29 |atchCurs|or_Ext))|
|00002370| 28 29 3b 0d 09 53 65 74 | 55 70 41 34 28 29 3b 0d |();..Set|UpA4();.|
|00002380| 09 7d 0d 0d 42 6f 6f 6c | 65 61 6e 20 48 61 73 53 |.}..Bool|ean HasS|
|00002390| 65 74 57 61 74 63 68 43 | 75 72 73 6f 72 28 29 0d |etWatchC|ursor().|
|000023a0| 09 7b 0d 09 72 65 74 75 | 72 6e 28 67 61 63 63 2e |.{..retu|rn(gacc.|
|000023b0| 53 65 74 57 61 74 63 68 | 43 75 72 73 6f 72 5f 45 |SetWatch|Cursor_E|
|000023c0| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 3b 0d 09 7d 0d |xt != NU|LL);..}.|
|000023d0| 0d 76 6f 69 64 20 44 6f | 45 76 65 6e 74 4c 6f 6f |.void Do|EventLoo|
|000023e0| 70 4f 6e 63 65 28 29 0d | 09 7b 0d 09 41 43 43 50 |pOnce().|.{..ACCP|
|000023f0| 74 72 09 6c 61 63 63 70 | 20 3d 20 26 67 61 63 63 |tr.laccp| = &gacc|
|00002400| 3b 20 2f 2a 20 6d 75 73 | 74 20 75 73 65 20 61 20 |; /* mus|t use a |
|00002410| 6c 6f 63 61 6c 20 70 6f | 69 6e 74 65 72 20 2a 2f |local po|inter */|
|00002420| 0d 09 0d 09 52 65 73 74 | 6f 72 65 41 34 28 29 3b |....Rest|oreA4();|
|00002430| 0d 09 69 66 20 28 6c 61 | 63 63 70 2d 3e 44 6f 45 |..if (la|ccp->DoE|
|00002440| 76 65 6e 74 4c 6f 6f 70 | 4f 6e 63 65 5f 45 78 74 |ventLoop|Once_Ext|
|00002450| 20 21 3d 20 4e 55 4c 4c | 29 0d 09 09 28 2a 28 6c | != NULL|)...(*(l|
|00002460| 61 63 63 70 2d 3e 44 6f | 45 76 65 6e 74 4c 6f 6f |accp->Do|EventLoo|
|00002470| 70 4f 6e 63 65 5f 45 78 | 74 29 29 28 29 3b 0d 09 |pOnce_Ex|t))();..|
|00002480| 53 65 74 55 70 41 34 28 | 29 3b 0d 09 7d 0d 0d 42 |SetUpA4(|);..}..B|
|00002490| 6f 6f 6c 65 61 6e 20 48 | 61 73 44 6f 45 76 65 6e |oolean H|asDoEven|
|000024a0| 74 4c 6f 6f 70 4f 6e 63 | 65 28 29 0d 09 7b 0d 09 |tLoopOnc|e()..{..|
|000024b0| 72 65 74 75 72 6e 28 67 | 61 63 63 2e 44 6f 45 76 |return(g|acc.DoEv|
|000024c0| 65 6e 74 4c 6f 6f 70 4f | 6e 63 65 5f 45 78 74 20 |entLoopO|nce_Ext |
|000024d0| 21 3d 20 4e 55 4c 4c 29 | 3b 0d 09 7d 0d 0d 48 61 |!= NULL)|;..}..Ha|
|000024e0| 6e 64 6c 65 20 47 65 74 | 54 68 65 43 6c 69 70 28 |ndle Get|TheClip(|
|000024f0| 29 0d 09 7b 0d 09 41 43 | 43 50 74 72 09 6c 61 63 |)..{..AC|CPtr.lac|
|00002500| 63 70 20 3d 20 26 67 61 | 63 63 3b 20 2f 2a 20 6d |cp = &ga|cc; /* m|
|00002510| 75 73 74 20 75 73 65 20 | 61 20 6c 6f 63 61 6c 20 |ust use |a local |
|00002520| 70 6f 69 6e 74 65 72 20 | 2a 2f 0d 09 48 61 6e 64 |pointer |*/..Hand|
|00002530| 6c 65 09 72 65 74 3b 0d | 09 0d 09 52 65 73 74 6f |le.ret;.|...Resto|
|00002540| 72 65 41 34 28 29 3b 0d | 09 69 66 20 28 6c 61 63 |reA4();.|.if (lac|
|00002550| 63 70 2d 3e 47 65 74 41 | 70 70 43 6c 69 70 5f 45 |cp->GetA|ppClip_E|
|00002560| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 0d 09 09 72 65 |xt != NU|LL)...re|
|00002570| 74 20 3d 20 28 2a 28 6c | 61 63 63 70 2d 3e 47 65 |t = (*(l|accp->Ge|
|00002580| 74 41 70 70 43 6c 69 70 | 5f 45 78 74 29 29 28 29 |tAppClip|_Ext))()|
|00002590| 3b 0d 09 65 6c 73 65 0d | 09 09 72 65 74 20 3d 20 |;..else.|..ret = |
|000025a0| 4e 55 4c 4c 3b 0d 09 53 | 65 74 55 70 41 34 28 29 |NULL;..S|etUpA4()|
|000025b0| 3b 0d 09 72 65 74 75 72 | 6e 28 72 65 74 29 3b 0d |;..retur|n(ret);.|
|000025c0| 09 7d 0d 0d 42 6f 6f 6c | 65 61 6e 20 48 61 73 47 |.}..Bool|ean HasG|
|000025d0| 65 74 54 68 65 43 6c 69 | 70 28 29 0d 09 7b 0d 09 |etTheCli|p()..{..|
|000025e0| 72 65 74 75 72 6e 28 67 | 61 63 63 2e 47 65 74 41 |return(g|acc.GetA|
|000025f0| 70 70 43 6c 69 70 5f 45 | 78 74 20 21 3d 20 4e 55 |ppClip_E|xt != NU|
|00002600| 4c 4c 29 3b 0d 09 7d 0d | 0d 2f 2f 20 4e 6f 74 65 |LL);..}.|.// Note|
|00002610| 20 66 6f 72 20 76 65 72 | 73 69 6f 6e 20 33 20 74 | for ver|sion 3 t|
|00002620| 68 65 20 76 65 72 73 69 | 6f 6e 20 69 73 20 73 69 |he versi|on is si|
|00002630| 67 6e 61 6c 6c 65 64 20 | 62 79 20 6c 6f 6e 67 20 |gnalled |by long |
|00002640| 65 78 74 65 6e 64 49 44 | 20 3d 3d 20 27 56 45 52 |extendID| == 'VER|
|00002650| 33 27 0d 2f 2f 20 69 6e | 73 69 64 65 20 67 61 63 |3'.// in|side gac|
|00002660| 63 20 2d 2d 20 66 6f 72 | 20 70 72 65 76 69 6f 75 |c -- for| previou|
|00002670| 73 20 76 65 72 73 69 6f | 6e 73 2c 20 74 68 65 20 |s versio|ns, the |
|00002680| 6f 64 64 73 20 6f 66 20 | 74 68 69 73 20 6c 6f 6e |odds of |this lon|
|00002690| 67 20 62 65 69 6e 67 20 | 73 65 74 0d 2f 2f 20 74 |g being |set.// t|
|000026a0| 6f 20 65 78 61 63 74 6c | 79 20 27 56 45 52 33 27 |o exactl|y 'VER3'|
|000026b0| 20 61 72 65 20 76 65 72 | 79 20 73 6d 61 6c 6c 2e | are ver|y small.|
|000026c0| 0d 0d 73 68 6f 72 74 20 | 50 75 74 54 68 65 43 6c |..short |PutTheCl|
|000026d0| 69 70 28 63 68 61 72 20 | 2a 6e 65 77 43 6c 69 70 |ip(char |*newClip|
|000026e0| 53 74 72 29 0d 09 7b 0d | 09 41 43 43 50 74 72 09 |Str)..{.|.ACCPtr.|
|000026f0| 6c 61 63 63 70 20 3d 20 | 26 67 61 63 63 3b 20 2f |laccp = |&gacc; /|
|00002700| 2a 20 6d 75 73 74 20 75 | 73 65 20 61 20 6c 6f 63 |* must u|se a loc|
|00002710| 61 6c 20 70 6f 69 6e 74 | 65 72 20 2a 2f 0d 09 73 |al point|er */..s|
|00002720| 68 6f 72 74 09 72 65 74 | 20 3d 20 30 3b 0d 09 0d |hort.ret| = 0;...|
|00002730| 09 52 65 73 74 6f 72 65 | 41 34 28 29 3b 0d 09 69 |.Restore|A4();..i|
|00002740| 66 20 28 6c 61 63 63 70 | 2d 3e 65 78 74 65 6e 64 |f (laccp|->extend|
|00002750| 49 44 20 3d 3d 20 27 56 | 45 52 33 27 20 26 26 20 |ID == 'V|ER3' && |
|00002760| 6c 61 63 63 70 2d 3e 50 | 75 74 41 70 70 43 6c 69 |laccp->P|utAppCli|
|00002770| 70 5f 45 78 74 20 21 3d | 20 4e 55 4c 4c 29 0d 09 |p_Ext !=| NULL)..|
|00002780| 09 72 65 74 20 3d 20 28 | 2a 28 6c 61 63 63 70 2d |.ret = (|*(laccp-|
|00002790| 3e 50 75 74 41 70 70 43 | 6c 69 70 5f 45 78 74 29 |>PutAppC|lip_Ext)|
|000027a0| 29 28 6e 65 77 43 6c 69 | 70 53 74 72 29 3b 0d 09 |)(newCli|pStr);..|
|000027b0| 53 65 74 55 70 41 34 28 | 29 3b 0d 09 72 65 74 75 |SetUpA4(|);..retu|
|000027c0| 72 6e 28 72 65 74 29 3b | 0d 09 7d 0d 0d 42 6f 6f |rn(ret);|..}..Boo|
|000027d0| 6c 65 61 6e 20 48 61 73 | 50 75 74 54 68 65 43 6c |lean Has|PutTheCl|
|000027e0| 69 70 28 76 6f 69 64 29 | 0d 09 7b 0d 09 72 65 74 |ip(void)|..{..ret|
|000027f0| 75 72 6e 28 67 61 63 63 | 2e 65 78 74 65 6e 64 49 |urn(gacc|.extendI|
|00002800| 44 20 3d 3d 20 27 56 45 | 52 33 27 20 26 26 20 67 |D == 'VE|R3' && g|
|00002810| 61 63 63 2e 50 75 74 41 | 70 70 43 6c 69 70 5f 45 |acc.PutA|ppClip_E|
|00002820| 78 74 20 21 3d 20 4e 55 | 4c 4c 29 3b 0d 09 7d 0d |xt != NU|LL);..}.|
|00002830| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002880| 00 00 01 00 00 00 03 94 | 00 00 02 94 00 00 00 8e |........|........|
|00002890| 00 08 01 07 00 06 00 06 | 00 06 00 05 00 05 00 06 |........|........|
|000028a0| 00 06 01 03 00 06 00 06 | 00 05 00 08 00 06 00 06 |........|........|
|000028b0| 0b 43 6f 64 65 5f 4d 61 | 69 6e 2e 63 02 00 00 00 |.Code_Ma|in.c....|
|000028c0| 54 45 58 54 4b 45 45 4e | 01 00 00 00 00 00 00 00 |TEXTKEEN|........|
|000028d0| 00 00 54 45 58 54 4b 45 | 45 4e 01 00 00 00 00 00 |..TEXTKE|EN......|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 a6 91 e8 a5 00 00 | 27 b1 00 00 04 22 00 08 |........|'...."..|
|00002900| 00 06 00 06 00 05 00 04 | 00 02 00 04 00 06 00 00 |........|........|
|00002910| 01 07 01 07 00 06 00 05 | 00 06 00 06 00 06 00 05 |........|........|
|00002920| 00 05 00 05 00 05 00 05 | 00 05 00 05 00 05 00 05 |........|........|
|00002930| 00 05 00 05 00 03 00 03 | 00 04 00 04 00 05 00 05 |........|........|
|00002940| 00 05 00 05 00 05 00 05 | 00 05 00 05 00 05 00 05 |........|........|
|00002950| 00 04 00 05 00 06 00 06 | 00 06 00 06 00 06 00 06 |........|........|
|00002960| 00 09 00 09 00 09 01 04 | 00 04 00 06 00 09 00 07 |........|........|
|00002970| 00 0a 00 06 00 05 00 05 | 00 06 00 06 00 05 00 06 |........|........|
|00002980| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 06 | 00 04 00 2a 00 03 02 fd |........|...*....|
|000029b0| 03 fd 00 38 00 14 02 f6 | 02 7c ab 1f b0 29 00 00 |...8....|.|...)..|
|000029c0| 21 0a 00 00 21 0a 00 00 | 00 00 00 00 00 00 00 04 |!...!...|........|
|000029d0| 00 06 00 04 00 00 02 1a | 00 17 00 00 23 56 00 00 |........|....#V..|
|000029e0| 23 65 0f 44 6f 45 76 65 | 6e 74 4c 6f 6f 70 4f 6e |#e.DoEve|ntLoopOn|
|000029f0| 63 65 00 00 1a 63 00 00 | 1a 6f 0d 47 65 74 46 72 |ce...c..|.o.GetFr|
|00002a00| 6f 6e 74 54 65 78 74 00 | 00 00 1b ae 00 00 1b be |ontText.|........|
|00002a10| 11 47 65 74 4e 65 78 74 | 4d 75 6c 74 69 46 69 6c |.GetNext|MultiFil|
|00002a20| 65 00 00 00 1f a2 00 00 | 1f b1 0f 47 65 74 53 63 |e.......|...GetSc|
|00002a30| 72 65 65 6e 48 65 69 67 | 68 74 00 00 20 fb 00 00 |reenHeig|ht.. ...|
|00002a40| 21 09 0f 47 65 74 53 63 | 72 65 65 6e 57 69 64 74 |!..GetSc|reenWidt|
|00002a50| 68 00 00 00 24 65 00 00 | 24 6f 0b 47 65 74 54 68 |h...$e..|$o.GetTh|
|00002a60| 65 43 6c 69 70 00 00 00 | 24 17 00 00 24 29 13 48 |eClip...|$...$).H|
|00002a70| 61 73 44 6f 45 76 65 6e | 74 4c 6f 6f 70 4f 6e 63 |asDoEven|tLoopOnc|
|00002a80| 65 00 00 00 1b 68 00 00 | 1b 77 0f 48 61 73 47 65 |e....h..|.w.HasGe|
|00002a90| 74 46 72 6f 6e 74 54 65 | 78 74 00 00 1d 17 00 00 |tFrontTe|xt......|
|00002aa0| 1d 2a 13 48 61 73 47 65 | 74 4e 65 78 74 4d 75 6c |.*.HasGe|tNextMul|
|00002ab0| 74 69 46 69 6c 65 00 00 | 20 ae 00 00 20 c0 13 48 |tiFile..| ... ..H|
|00002ac0| 61 73 47 65 74 53 63 72 | 65 65 6e 48 65 69 67 68 |asGetScr|eenHeigh|
|00002ad0| 74 00 00 00 22 04 00 00 | 22 15 11 48 61 73 47 65 |t..."...|"..HasGe|
|00002ae0| 74 53 63 72 65 65 6e 57 | 69 64 74 68 00 00 25 4c |tScreenW|idth..%L|
|00002af0| 00 00 25 59 0d 48 61 73 | 47 65 74 54 68 65 43 6c |..%Y.Has|GetTheCl|
|00002b00| 69 70 00 00 1a 1b 00 00 | 1a 2a 0f 48 61 73 49 6e |ip......|.*.HasIn|
|00002b10| 44 69 63 74 69 6f 6e 61 | 72 79 00 00 1f 5d 00 00 |Dictiona|ry...]..|
|00002b20| 1f 6b 0f 48 61 73 4d 65 | 6d 6f 72 79 41 6c 65 72 |.k.HasMe|moryAler|
|00002b30| 74 00 00 00 1e 64 00 00 | 1e 72 0f 48 61 73 4f 4b |t....d..|.r.HasOK|
|00002b40| 53 74 6f 70 41 6c 65 72 | 74 00 00 00 27 55 00 00 |StopAler|t...'U..|
|00002b50| 27 62 0d 48 61 73 50 75 | 74 54 68 65 43 6c 69 70 |'b.HasPu|tTheClip|
|00002b60| 00 00 23 0c 00 00 23 1d | 11 48 61 73 53 65 74 57 |..#...#.|.HasSetW|
|00002b70| 61 74 63 68 43 75 72 73 | 6f 72 00 00 19 1a 00 00 |atchCurs|or......|
|00002b80| 19 26 0d 49 6e 44 69 63 | 74 69 6f 6e 61 72 79 00 |.&.InDic|tionary.|
|00002b90| 00 00 1e a8 00 00 1e b3 | 0b 4d 65 6d 6f 72 79 41 |........|.MemoryA|
|00002ba0| 6c 65 72 74 00 00 13 73 | 00 00 13 77 05 6d 61 69 |lert...s|...w.mai|
|00002bb0| 6e 00 00 00 1d 66 00 00 | 1d 71 0b 4f 4b 53 74 6f |n....f..|.q.OKSto|
|00002bc0| 70 41 6c 65 72 74 00 00 | 26 48 00 00 26 52 0b 50 |pAlert..|&H..&R.P|
|00002bd0| 75 74 54 68 65 43 6c 69 | 70 00 00 00 22 4e 00 00 |utTheCli|p..."N..|
|00002be0| 22 5c 0f 53 65 74 57 61 | 74 63 68 43 75 72 73 6f |"\.SetWa|tchCurso|
|00002bf0| 72 00 00 00 00 0a 00 09 | 06 4d 6f 6e 61 63 6f 00 |r.......|.Monaco.|
|00002c00| 00 00 00 04 ab 3c c2 7b | 00 00 00 08 00 31 02 19 |.....<.{|.....1..|
|00002c10| 02 83 03 c1 00 00 01 00 | 00 00 03 94 00 00 02 94 |........|........|
|00002c20| 00 00 00 8e 00 9f a6 34 | 12 bc 00 00 00 1c 00 8e |.......4|........|
|00002c30| 00 04 4d 50 53 52 00 01 | 00 2a 45 54 41 42 00 00 |..MPSR..|.*ETAB..|
|00002c40| 00 42 45 46 4e 54 00 00 | 00 4e 4a 41 47 5a 00 00 |.BEFNT..|.NJAGZ..|
|00002c50| 00 5a 57 53 49 5a 00 00 | 00 66 03 ed ff ff 00 00 |.ZWSIZ..|.f......|
|00002c60| 00 00 00 00 00 00 03 ef | ff ff 00 00 00 54 00 9f |........|.....T..|
|00002c70| a2 fc 03 ec ff ff 00 00 | 00 4c 00 9f a2 f8 03 eb |........|.L......|
|00002c80| ff ff 00 00 02 72 00 9f | a3 10 03 ed ff ff 00 00 |.....r..|........|
|00002c90| 02 80 00 9f a3 98 03 ee | ff ff 00 00 02 88 00 9f |........|........|
|00002ca0| a2 f4 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+